chore(deps): update node.js to v23 #1338
Open
+2
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
18.20.6-alpine
->23.7.0-alpine
18.20.6-alpine
->23.7.0-alpine
Release Notes
nodejs/node (node)
v23.7.0
: 2025-01-30, Version 23.7.0 (Current), @aduh95Compare Source
Notable Changes
36dd9ecc41
] - crypto: update root certificates to NSS 3.107 (Node.js GitHub Bot) #565669414d3cbf1
] - (SEMVER-MINOR) fs: allowexclude
option in globs to accept glob patterns (Daeyeon Jeong) #564899c5c3b3115
] - (SEMVER-MINOR) module: add ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX (Marco Ippolito) #566101e201fd5fd
] - (SEMVER-MINOR) sqlite: support TypedArray and DataView inStatementSync
(Alex Yang) #5638548c813fb67
] - (SEMVER-MINOR) src: add --disable-sigusr1 to prevent signal i/o thread (Rafael Gonzaga) #56441cf16123785
] - (SEMVER-MINOR) src,worker: add isInternalWorker (Carlos Espa) #5646913bdd9c961
] - (SEMVER-MINOR) test_runner: add TestContext.prototype.waitFor() (Colin Ihrig) #5659500a1943858
] - (SEMVER-MINOR) test_runner: add t.assert.fileSnapshot() (Colin Ihrig) #564593143566045
] - (SEMVER-MINOR) test_runner: add assert.register() API (Colin Ihrig) #56434Commits
334a3ac7c6
] - assert: make myers_diff function more performant (Giovanni Bucci) #56303eb2bf460b7
] - assert: make partialDeepStrictEqual work with urls and File prototypes (Giovanni Bucci) #56231d184453b90
] - assert: show diff when doing partial comparisons (Giovanni Bucci) #562114aa1afd607
] - benchmark: add validateStream to styleText bench (Rafael Gonzaga) #565568bbdb1203e
] - child_process: fix parsing messages with splitted length field (Maksim Gorkov) #56106d83d89a08e
] - crypto: add missing return value check (Michael Dawson) #5661536dd9ecc41
] - crypto: update root certificates to NSS 3.107 (Node.js GitHub Bot) #565663915152c36
] - crypto: fix checkPrime crash with large buffers (Santiago Gimeno) #56559c8d1dcb063
] - crypto: fix warning of ignoring return value (Cheng) #565271994eaaf52
] - crypto: make generatePrime/checkPrime interruptible (James M Snell) #564605f1ee05390
] - deps: update corepack to 0.31.0 (Node.js GitHub Bot) #567959cfac712b8
] - deps: move inspector_protocol to deps (Chengzhong Wu) #56649b2ec816a31
] - deps: macro ENODATA is deprecated in libc++ (Cheng) #56698edd9361499
] - deps: fixup some minor coverity warnings (James M Snell) #566129ffe3ad4b1
] - deps: update libuv to 1.50.0 (Node.js GitHub Bot) #5661673ad3ca238
] - deps: update amaro to 0.3.0 (Node.js GitHub Bot) #565680657f6270a
] - deps: update amaro to 0.2.2 (Node.js GitHub Bot) #5656847fad8cbc0
] - deps: update simdutf to 6.0.3 (Node.js GitHub Bot) #56567c9a211ae29
] - diagnostics_channel: capture console messages (Stephen Belanger) #56292cf5d2d6598
] - doc: move anatoli to emeritus (Michael Dawson) #565925dd08d10be
] - doc: fix styles of the expandable TOC (Antoine du Hamel) #5675509fb3adf80
] - doc: add "Skip to content" button (Antoine du Hamel) #56750ad012ca1f3
] - doc: improve accessibility of expandable lists (Antoine du Hamel) #5674938acdb57eb
] - doc: add note regarding commit message trailers (Dario Piotrowicz) #56736f4a9b134c0
] - doc: fix typo in example code for util.styleText (Robin Mehner) #567208a61aaa734
] - doc: fix inconsistencies inWeakSet
andWeakMap
comparison details (Shreyans Pathak) #566834ade128184
] - doc: add RafaelGSS as latest sec release stewards (Rafael Gonzaga) #56682e1e1200b79
] - doc: clarify cjs/esm diff inqueueMicrotask()
vsprocess.nextTick()
(Dario Piotrowicz) #5665957a7b931fb
] - doc:WeakSet
andWeakMap
comparison details (Shreyans Pathak) #5664856b21489f4
] - doc: mention prepare --security (Rafael Gonzaga) #5661767f39b597a
] - doc: tweak info on reposts in ambassador program (Michael Dawson) #565896381e0761d
] - doc: add type stripping to ambassadors program (Marco Ippolito) #565989bd438acd3
] - doc: improve internal documentation on built-in snapshot (Joyee Cheung) #56505f54118c84a
] - doc: correct customization hook types & clarify descriptions (Jacob Smith) #564546af5053153
] - doc: document CLI way to open the nodejs/bluesky PR (Antoine du Hamel) #565064a77a9e1eb
] - doc: add history info for Permission Model (Antoine du Hamel) #56707097b8b4889
] - doc: add note for features usingInternalWorker
with permission model (Antoine du Hamel) #56706f600466c73
] - doc: add section about using npx with permission model (Rafael Gonzaga) #56539c2d5a0c629
] - doc: update gcc-version for ubuntu-lts (Kunal Kumar) #56553202af46793
] - doc: fix parentheses in options (Tobias Nießen) #565634e4b0c63d0
] - doc: fix location of NO_COLOR in CLI docs (Colin Ihrig) #5652592eeeb98a5
] - doc: include CVE to EOL lines as sec release process (Rafael Gonzaga) #56520233a6a93a1
] - doc: add esm examples to node:trace_events (Alfredo González) #56514d9cff6c73f
] - doc: reserve NMV 133 for Electron 35 (Keeley Hammond) #565136047fd7c5c
] - doc: add message for Ambassadors to promote (Michael Dawson) #56235a4045c9488
] - doc: allow request for TSC reviews via the GitHub UI (Antoine du Hamel) #56493dd3f94873e
] - esm: fix jsdoc type refs toModuleJobBase
in esm/loader (Jacob Smith) #564999414d3cbf1
] - (SEMVER-MINOR) fs: allowexclude
option in globs to accept glob patterns (Daeyeon Jeong) #564894202045673
] - http2: omit server name when HTTP2 host is IP address (islandryu) #56530f48a562776
] - inspector: roll inspector_protocol (Chengzhong Wu) #566499a954fbf4a
] - inspector: add undici http tracking support (Chengzhong Wu) #56488f185e8a34a
] - inspector: report loadingFinished until the response data is consumed (Chengzhong Wu) #563722fb007fdce
] - lib: allow skipping source maps in node_modules (Chengzhong Wu) #566392f69dc2659
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #565800d869963e0
] - meta: add codeowners of security release document (Rafael Gonzaga) #5652159510ab819
] - module: fix badrequire.resolve
with option paths for.
and..
(Dario Piotrowicz) #5673558d2dad67d
] - module: integrate TypeScript into compile cache (Joyee Cheung) #566299f99a6acb5
] - module: use more defensive code when handling SWC errors (Antoine du Hamel) #566467347d34053
] - module: fixing url change in load sync hook chain (Vitalii Akimov) #564029c5c3b3115
] - (SEMVER-MINOR) module: add ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX (Marco Ippolito) #56610afd1f91a1e
] - module: fix jsdoc forformat
parameter in cjs/loader (pacexy) #5650186d783fa51
] - module: rethrow amaro error message (Marco Ippolito) #565687b6df4a97a
] - process: fix symbol key and mark experimental newnode:process
methods (Antoine du Hamel) #5651721362cc4f4
] - punycode: limit deprecation warning (Colin Ihrig) #5663293f60a1c15
] - sqlite: disable memstatus APIs at build time (Colin Ihrig) #565411e201fd5fd
] - (SEMVER-MINOR) sqlite: support TypedArray and DataView inStatementSync
(Alex Yang) #563853aca628a11
] - sqlite: enable SQL math functions (Colin Ihrig) #56447575251ae6a
] - src: add nullptr handling from X509_STORE_new() (Burkov Egor) #567008fb03d8f43
] - src: move more crypto to ncrypto (James M Snell) #5665355a0135261
] - src: add default value for RSACipherConfig mode field (Burkov Egor) #5670183c56da328
] - src: fix build with GCC 15 (tjuhaszrh) #56740872d68d87c
] - src: fix to generate path from wchar_t via wstring (yamachu) #566962b6a82dcea
] - src: replace NoArrayBufferZeroFillScope with v8 option (James M Snell) #56658a5f9023297
] - src: initialize FSReqWrapSync in path that uses it (Michaël Zasso) #5661390f70ed8dd
] - src: use cppgc to manage ContextifyContext (Joyee Cheung) #565220b1ac9653e
] - src: handle duplicate paths granted (Rafael Gonzaga) #5659133f5345002
] - src: update ECKeyPointer in ncrypto (James M Snell) #56526c7b95fcf95
] - src: update ECPointPointer in ncrypto (James M Snell) #56526c008b15108
] - src: update ECGroupPointer in ncrypto (James M Snell) #565265673dc7de7
] - src: update ECDASSigPointer implementation in ncrypto (James M Snell) #5652687ba48b2c6
] - src: cleaning up more crypto internals for ncrypto (James M Snell) #5652648c813fb67
] - (SEMVER-MINOR) src: add --disable-sigusr1 to prevent signal i/o thread (Rafael Gonzaga) #5644150c65eed78
] - src: fix undefined script name in error source (Chengzhong Wu) #56502b3c66d2493
] - src: refactor --trace-env to reuse option selection and handling (Joyee Cheung) #5629317d59efe3c
] - src: minor cleanups on OneByteString usage (James M Snell) #564823e6e0106f6
] - src: move more crypto impl detail to ncrypto dep (James M Snell) #564215e1ddd5d4c
] - src: fixup more ToLocalChecked uses in node_file (James M Snell) #56484aa3fd2f58f
] - src: make some minor ToLocalChecked cleanups (James M Snell) #564837dd8165b0b
] - src: lock the thread properly in snapshot builder (Joyee Cheung) #56327edafab7248
] - src: drain platform tasks before creating startup snapshot (Chengzhong Wu) #56403e1887d2c58
] - src: use LocalVector in more places (James M Snell) #56457cf16123785
] - (SEMVER-MINOR) src,worker: add isInternalWorker (Carlos Espa) #56469df78515664
] - stream: fix typo in ReadableStreamBYOBReader.readIntoRequests (Mattias Buelens) #565604ff79fb22a
] - test: reduce number of written chunks (Luigi Pinca) #567572e7b7b7674
] - test: fix invalid common.mustSucceed() usage (Luigi Pinca) #567560af368ce5e
] - test: use strict mode in global setters test (Rich Trott) #56742e49f3e944c
] - test: cleanup and simplify test-crypto-aes-wrap (James M Snell) #5674885f7bbf4e4
] - test: do not use common.isMainThread (Luigi Pinca) #5676836b02bf1b1
] - test: make some requires lazy in common/index (James M Snell) #56715bcb35c3fb7
] - test: add test that uses multibyte for path and resolves modules (yamachu) #56696917f98b29c
] - test: replace more uses ofglobal
withglobalThis
(James M Snell) #56712bf34a49206
] - test: make common/index slightly less node.js specific (James M Snell) #56712ef2ed71389
] - test: rely less on duplicative common test harness utilities (James M Snell) #56712e654c8b84a
] - test: simplify common/index.js (James M Snell) #56712a62345e73b
] - test: move hasMultiLocalhost to common/net (James M Snell) #567166edf04ee5e
] - test: move crypto related common utilities in common/crypto (James M Snell) #56714c7a132229f
] - test: add missing test for env file (Jonas) #566422a219eddf6
] - test: enforce strict mode in test-zlib-const (Rich Trott) #56689f885496d9c
] - test: fix localization data for ICU 74.2 (Antoine du Hamel) #56661eb3148fb5c
] - test: use --permission instead of --experimental-permission (Rafael Gonzaga) #5668586d7ba09c4
] - test: test-stream-compose.js doesn't need internals (Meghan Denny) #56619676276889e
] - test: add maxCount and gcOptions to gcUntil() (Joyee Cheung) #565225b7a012144
] - test: add line break at end of file (Rafael Gonzaga) #5658827cfec619f
] - test: mark test-worker-prof as flaky on smartos (Joyee Cheung) #565837e58da68c1
] - test: update ts eval snapshots (Marco Ippolito) #56568b1c54439ae
] - test: update test-child-process-bad-stdio to use node:test (Colin Ihrig) #565620d772a963e
] - test: disable openssl 3.4.0 incompatible tests (Jelle van der Waa) #561606fa6d699ff
] - test: make test-crypto-hash compatible with OpenSSL > 3.4.0 (Jelle van der Waa) #5616090e12f2945
] - test: clarify fork inherit permission flags (Rafael Gonzaga) #56523323f96f7b3
] - test: add error only reporter for node:test (Carlos Espa) #56438cbbcaf9108
] - test: mark test-http-server-request-timeouts-mixed as flaky (Joyee Cheung) #56503295db19ba2
] - test: update error code in tls-psk-circuit for for OpenSSL 3.4 (sebastianas) #56420f7563780a6
] - test: update compiled sqlite tests to match other tests (Colin Ihrig) #564468feb2737e7
] - test: add initial test426 coverage (Chengzhong Wu) #56436b9cd7895c0
] - test: update test-set-http-max-http-headers to use node:test (Colin Ihrig) #56439332ce548cb
] - test: update test-child-process-windows-hide to use node:test (Colin Ihrig) #56437e2668c0e00
] - test_runner: print failing assertion only once with spec reporter (Pietro Marchini) #56662f97cd5b02b
] - test_runner: remove unused errors (Pietro Marchini) #5660713bdd9c961
] - (SEMVER-MINOR) test_runner: add TestContext.prototype.waitFor() (Colin Ihrig) #5659500a1943858
] - (SEMVER-MINOR) test_runner: add t.assert.fileSnapshot() (Colin Ihrig) #56459c4979ebfb2
] - test_runner: run single test file benchmark (Pietro Marchini) #56479839a06e908
] - test_runner: differentiate test types in enqueue dequeue events (Eddie Abbondanzio) #540493143566045
] - (SEMVER-MINOR) test_runner: add assert.register() API (Colin Ihrig) #564343aa864904f
] - test_runner: finish marking snapshot testing as stable (Colin Ihrig) #56425b7b0768cda
] - tls: fix error stack conversion in cryptoErrorListToException() (Joyee Cheung) #565548f59f5ba47
] - tools: update doc to new version (Node.js GitHub Bot) #56259ebf4527730
] - tools: update inspector_protocol roller (Chengzhong Wu) #56649649cf0c0f6
] - tools: do not throw on missingcreate-release-proposal.sh
(Antoine du Hamel) #5670469cb44e315
] - tools: fix tools-deps-update (Daniel Lemire) #5668402f36ca11b
] - tools: do not throw on missingcreate-release-proposal.sh
(Antoine du Hamel) #56695bcc1c65066
] - tools: fix permissions inlint-release-proposal
workflow (Antoine du Hamel) #56614ab4cfef600
] - tools: remove github reporter (Carlos Espa) #56468477e674a2a
] - tools: editcreate-release-proposal
workflow (Antoine du Hamel) #565405f6785b1cb
] - tools: validate commit list as part oflint-release-commit
(Antoine du Hamel) #562912a0fbd8731
] - tools: fix loong64 build failed (Xiao-Tao) #56466aea088f79e
] - tools: disable unneeded rule ignoring in Python linting (Rich Trott) #564297a0dd2d04f
] - tools: use a configurable value for number of open dependabot PRs (Antoine du Hamel) #56427c249c9715a
] - tools: bump the eslint group in /tools/eslint with 4 updates (dependabot[bot]) #56426a9d332a16f
] - util: inspect: do not crash on an Error stack that contains a Symbol (Jordan Harband) #565736a16012fd7
] - util: inspect: do not crash on an Error with a regexname
(Jordan Harband) #56574c7f16192f4
] - util: rename CallSite.column to columnNumber (Chengzhong Wu) #56584e652781934
] - util: do not crash on inspecting function withSymbol
name (Jordan Harband) #56572d066acfcf9
] - util: expose CallSite.scriptId (Chengzhong Wu) #56551e1b0f44d19
] - watch: reload env file for --env-file-if-exists (Jonas) #56643538e19489f
] - worker: refactor stdio to improve performance (Matteo Collina) #56630aab53e6965
] - worker: flush stdout and stderr on exit (Matteo Collina) #56428v23.6.1
: 2025-01-21, Version 23.6.1 (Current), @RafaelGSSCompare Source
This is a security release.
Notable Changes
Dependency update:
Commits
f2ad4d3af8
] - (CVE-2025-22150) deps: update undici to v6.21.1 (Matteo Collina) nodejs-private/node-private#6540afc6f9600
] - (CVE-2025-23084) path: fix path traversal in normalize() on Windows (RafaelGSS) nodejs-private/node-private#5553c7686163e
] - (CVE-2025-23085) src: fix HTTP2 mem leak on premature close and ERR_PROTO (RafaelGSS) nodejs-private/node-private#65051938f023a
] - (CVE-2025-23083) src,loader,permission: throw on InternalWorker use (RafaelGSS) nodejs-private/node-private#629v23.6.0
: 2025-01-07, Version 23.6.0 (Current), @marco-ippolitoCompare Source
Notable Changes
Unflagging --experimental-strip-types
This release enables the flag
--experimental-strip-types
by default.Node.js will be able to execute TypeScript files without additional configuration:
There are some limitations in the supported syntax documented at https://nodejs.org/api/typescript.html#type-stripping
This feature is experimental and is subject to change.
Contributed by Marco Ippolito in #56350
Other Notable Changes
c1023284c3
] - (SEMVER-MINOR) lib: add typescript support to STDIN eval (Marco Ippolito) #563598dc39e5e2e
] - (SEMVER-MINOR) process: add process.ref() and process.unref() methods (James M Snell) #564008b20cc212b
] - (SEMVER-MINOR) worker: add eval ts input (Marco Ippolito) #56394Commits
7b4d288116
] - assert: make partialDeepStrictEqual throw when comparing [0] with [-0] (Giovanni) #562370ec2ed0a0b
] - build: fix GN build for ngtcp2 (Cheng) #56300ab3e64630b
] - build: test macos-13 on GitHub actions (Michaël Zasso) #5630746fb69daca
] - build: build v8 with -fvisibility=hidden on macOS (Joyee Cheung) #562759d4930b993
] - deps: update simdutf to 5.7.2 (Node.js GitHub Bot) #563886afe36397e
] - deps: update amaro to 0.2.1 (Node.js GitHub Bot) #56390195990a0ee
] - deps: update googletest to7d76a23
(Node.js GitHub Bot) #56387b9c0852fc6
] - deps: update googletest toe54519b
(Node.js GitHub Bot) #56370eaefd90128
] - deps: update ngtcp2 to 1.10.0 (Node.js GitHub Bot) #5633406de0c65cf
] - deps: update simdutf to 5.7.0 (Node.js GitHub Bot) #5633203df76cdec
] - doc: add example for piping ReadableStream (Gabriel Schulhof) #5641538ce249b07
] - doc: expand description ofparseArg
'sdefault
(Kevin Gibbons) #54431ecc718cef2
] - doc: use<ul>
instead of<ol>
inSECURITY.md
(Antoine du Hamel) #563463db4809130
] - doc: clarify that WASM is trusted (Matteo Collina) #56345384ccbacd5
] - doc: update macOS and Xcode versions for releases (Michaël Zasso) #563373943986e88
] - doc: fix thecrc32
documentation (Kevin Toshihiro Uehara) #55898710b8fc6ed
] - doc: add entry to changelog about SQLite Session Extension (Bart Louwers) #563184c978b4d77
] - doc: fix links inmodule.md
(Antoine du Hamel) #56283cdb631efe7
] - esm: add experimental support for addon modules (Chengzhong Wu) #55844db83d2f0ee
] - Revert "events: add hasEventListener util for validate" (origranot) #56282c2baae84ce
] - lib: refactor execution.js (Marco Ippolito) #56358c1023284c3
] - (SEMVER-MINOR) lib: add typescript support to STDIN eval (Marco Ippolito) #56359e4b795ec4a
] - lib: optimizeprepareStackTrace
on builtin frames (Chengzhong Wu) #56299d1b009b623
] - lib: suppress source map lookup exceptions (Chengzhong Wu) #56299c2837f0805
] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #5634272336233f2
] - meta: move MoLow to TSC regular member (Moshe Atlow) #562764f77920a9d
] - module: fix async resolution error within the syncfindPackageJSON
(Jacob Smith) #56382e5ba216501
] - (SEMVER-MINOR) module: unflag --experimental-strip-types (Marco Ippolito) #56350959f133a22
] - module: support eval with ts syntax detection (Marco Ippolito) #56285717cfa4fac
] - module: use buffer.toString base64 (Chengzhong Wu) #56315c2f4d8d688
] - node-api: define version 10 (Gabriel Schulhof) #55676417a8ebdec
] - node-api: remove deprecated attribute from napi_module_register (Vladimir Morozov) #561628dc39e5e2e
] - (SEMVER-MINOR) process: add process.ref() and process.unref() methods (James M Snell) #56400d194f1ab5f
] - sqlite: pass conflict type to conflict resolution handler (Bart Louwers) #5635229f5d70452
] - src: use v8::LocalVector consistently with other minor cleanups (James M Snell) #564172a5543b78e
] - src: use starts_with in fs_permission.cc (ishabi) #558113a3f5c9a64
] - stream: validate undefined sizeAlgorithm in WritableStream (Jason Zhang) #560676e6f6b071a
] - test: add ts eval snapshots (Marco Ippolito) #563588a87e39052
] - test: remove empty lines from snapshots (Marco Ippolito) #56358510649f617
] - test: use unusual chars in the path to ensure our tests are robust (Antoine du Hamel) #4840954f6d681a0
] - test: remove flaky designation (Luigi Pinca) #5636920ace0bb01
] - test: remove test-worker-arraybuffer-zerofill flaky designation (Luigi Pinca) #56364b757e40525
] - test: remove test-net-write-fully-async-hex-string flaky designation (Luigi Pinca) #5636564556baddc
] - test: improve abort signal dropping test (Edy Silva) #56339accbdad329
] - test: enable ts test on win arm64 (Marco Ippolito) #563494188ee00d1
] - test: deflake test-watch-file-shared-dependency (Luigi Pinca) #56344079cee0609
] - test: skiptest-sqlite-extensions
when SQLite is not built by us (Antoine du Hamel) #5634196a38044ee
] - test: increase spin for eventloop test on s390 (Michael Dawson) #56228c062ffc242
] - test: add coverage for pipeline (jakecastelli) #56278d4404f0d0e
] - test: migrate message eval tests from Python to JS (Yiyun Lei) #504829369942745
] - test: check typescript loader (Marco Ippolito) #546574930244484
] - test: remove async-hooks/test-writewrap flaky designation (Luigi Pinca) #560487819bfec69
] - test: deflake test-esm-loader-hooks-inspect-brk (Luigi Pinca) #56050e9762bf005
] - test: add test case for listeners (origranot) #56282c1627e9d19
] - test: maketest-permission-sqlite-load-extension
more robust (Antoine du Hamel) #5629597d854e1d5
] - test_runner,cli: mark test isolation as stable (Colin Ihrig) #56298a4f336fdd4
] - tools: fixrequire-common-first
lint rule from subfolder (Antoine du Hamel) #56325dc3dafcb50
] - tools: add release line label when opening release proposal (Antoine du Hamel) #563172a5ac932ac
] - url: use resolved path to convert UNC paths to URL (Antoine du Hamel) #563028b20cc212b
] - (SEMVER-MINOR) worker: add eval ts input (Marco Ippolito) #56394v23.5.0
: 2024-12-19, Version 23.5.0 (Current), @aduh95Compare Source
Notable Changes
WebCryptoAPI
Ed25519
and X25519 algorithms are now stableFollowing the merge of Curve25519 into the
Web Cryptography API Editor's Draft the
Ed25519
andX25519
algorithm identifiers are now stable and will no longeremit an ExperimentalWarning upon use.
Contributed by Filip Skokan in #56142.
On-thread hooks are back
This release introduces
module.registerHooks()
for registering module loadercustomization hooks that are run for all modules loaded by
require()
,import
and functions returned by
createRequire()
in the same thread, which makes themeasier for CJS monkey-patchers to migrate to.
This complements the
module.register()
hooks - the new hooks fit betterinternally and cover all corners in the module graph; whereas
module.register()
previously could not coverrequire()
while it wason-thread, and still cannot cover
createRequire()
after being movedoff-thread.
They are also run in the same thread as the modules being loaded and where the
hooks are registered, which means they are easier to debug (no more
console.log()
getting lost) and do not have the many deadlock issues hauntingthe
module.register()
hooks. The new API also takes functions directly so thatit's easier for intermediate loader packages to take user options from files
that the hooks can't be aware of, like many existing CJS monkey-patchers do.
Contributed by Joyee Cheung in #55698.
Other notable changes
59cae91465
] - (SEMVER-MINOR) dgram: support blocklist in udp (theanarkh) #5608772f79b44ed
] - doc: stabilize util.styleText (Rafael Gonzaga) #56265b5a2c0777d
] - (SEMVER-MINOR) module: add prefix-only modules tomodule.builtinModules
(Jordan Harband) #561859863d27566
] - (SEMVER-MINOR) module: only emit require(esm) warning under --trace-require-module (Joyee Cheung) #561948e780bc5ae
] - (SEMVER-MINOR) module: use synchronous hooks for preparsing in import(cjs) (Joyee Cheung) #5569865bc8e847f
] - (SEMVER-MINOR) report: fix typos in report keys and bump the version (Yuan-Ming Hsu) #560680ab36e1937
] - (SEMVER-MINOR) sqlite: aggregate constants in a single property (Edigleysson Silva (Edy)) #56213efcc5d90c5
] - (SEMVER-MINOR) src,lib: stabilize permission model (Rafael Gonzaga) #56201Commits
2314e4916e
] - assert: make Maps be partially compared in partialDeepStrictEqual (Giovanni Bucci) #56195cfbdff7b45
] - assert: make partialDeepStrictEqual work with ArrayBuffers (Giovanni Bucci) #56098f264dd6d20
] - buffer: document concat zero-fill (Duncan) #555624831b87d83
](https://redirect.github.coConfiguration
📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.